package com.ykq.springsecurity04.dao;

import com.ykq.springsecurity04.entity.Permission;

import java.util.List;

/**
 * @program: springsecurity04
 * @description:
 * @author: 闫克起
 * @create: 2022-11-01 16:19
 **/
public interface PermissionDao {

    /**
     * 根据用户id查询对应的权限
     */
    public List<Permission> findByUserid(Integer userid);
}
